
// 设计用户的表模型
const mongoose = require('mongoose')
const Schema = mongoose.Schema
//设计文章的表模型
const NoteSchema = new Schema({
    SwipeList: {
        type: Array,
        require: true,
        default: [
            "http://localhost:4000/bird/image002.jpg",
            "http://localhost:4000/bird/image004.jpg",
            "http://localhost:4000/bird/image006.jpg",
            "http://localhost:4000/bird/image008.jpg",
            "http://localhost:4000/bird/image010.jpg"
        ]
    }
})


module.exports = mongoose.model('NoteSchema', NoteSchema)